## Pylons DB Admin
## Copyright (C) 2004-2009  Ken Kinder
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program.  If not, see <http://www.gnu.org/licenses/>.

<%inherit file="base.mako"/>
<%def name="title()">
    Main
</%def>


<div style="width: 800px">
<div class="ui-corner-top ui-widget-header page-nav">
    Pylons DB Admin
</div>

% for instance in c.instances:
    <div class="instance-nav">
        <h2>${instance}</h2>
        <ul>
            <li><a href="${h.url_for(controller='dbadmin', action='console', instance=instance)}">SQL Console</a></li>
            <li><a href="${h.url_for(controller='dbadmin', action='browse', instance=instance)}">Browse Data</a></li>
        </ul>
    </div>
% endfor
</div>
